package cn.tedu.spring.eg3;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class ShopTest {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context= new
                AnnotationConfigApplicationContext("cn.tedu.spring.eg3");
        context.getBean(ShopController.class);

        System.out.println("4.使用阶段");
        context.close();
    }
}
